"use strict";

const Controller = require("egg").Controller;
const mongo = require("../utils/index");
class ProjectController extends Controller {
    async getTemplate() {
        const { ctx } = this;
        const data = await mongo().query("project");
        ctx.body = data;
    }
}

module.exports = ProjectController;
